package com.wwtech.epp.ui.activity.main.contract;

import com.wwtech.epp.entity.WorkCategory;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

/**
 * @author hzp
 * @Package The contract for WorkFragment
 * @Description: $description
 * @date 2017/08/21 11:14:20
 */
public interface WorkContract {
    interface View extends BaseView<WorkContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void setWorkCategory(WorkCategory workCategory);
    }

    interface WorkContractPresenter extends BasePresenter {
        /**
         *
         */
        void getWorkCategory();
    }
}